package com.simplegovern.authority.dao;

import java.util.List;

import com.simpleframe.persistence.hibernate.Finder;
import com.simpleframe.persistence.hibernate.HibernateGenericDao;
import com.simplegovern.authority.SysRoleAction;

public class RoleActionDAO extends HibernateGenericDao<SysRoleAction, Long>{

	public List<SysRoleAction> getRoleActionList(Long roleId){
		Finder finder = Finder.create(SysRoleAction.class);
		finder.andEq("roleId", roleId);
		return findByFinder(finder);
	}
}
